﻿using System.Collections.Generic;
using System.IO;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Transliterator.Tests
{
    /// <summary>
    /// Summary description for Procesor
    /// </summary>
    [TestClass]
    public class ProcesorTests
    {
        private const string Root = @"..\..\..\..\orchard.po";
        private readonly Procesor _target = new Procesor(Root);

        [TestMethod]
        public void PronađiSvePoFajloveVraca36Fajlova()
        {
            const int expected = 37;

            List<FileInfo> actual = _target.GetAllLocalizationFiles();
            Assert.AreEqual(expected, actual.Count);
        }
    }
}